package com.jixiang.common.constants;

public class GoodsIndexConstants {

    public  static String MAPPING_NAME="jxgoods";
    public  static String MAPPING_TEMPLATE="{\n" +
            "  \"mappings\": {\n" +
            "    \"properties\": {\n" +
            "      \"id\":{\n" +
            "        \"type\": \"keyword\"\n" +
            "      },\n" +
            "      \"name\": {\n" +
            "        \"type\": \"text\",\n" +
            "        \"analyzer\": \"ik_max_word\"\n" +
            "      },\n" +
            "      \"oldPrice\": {\n" +
            "        \"type\": \"double\"\n" +
            "      },\n" +
            "      \"price\": {\n" +
            "        \"type\": \"double\"\n" +
            "      },\n" +
            "      \"num\": {\n" +
            "        \"type\": \"integer\"\n" +
            "      },\n" +
            "      \"weight\": {\n" +
            "        \"type\": \"double\"\n" +
            "      },\n" +
            "      \"inventory\": {\n" +
            "        \"type\": \"integer\"\n" +
            "      },\n" +
            "      \"goodsTypeId\": {\n" +
            "        \"type\": \"keyword\"\n" +
            "      },\n" +
            "      \"goodsSelectId\": {\n" +
            "        \"type\": \"keyword\"\n" +
            "      },\n" +
            "      \"goodsBrankId\": {\n" +
            "        \"type\": \"keyword\"\n" +
            "      },\n" +
            "      \"dynamicParamState\": {\n" +
            "        \"type\": \"integer\"\n" +
            "      },\n" +
            "      \"mainPic\": {\n" +
            "        \"type\": \"keyword\"\n" +
            "      },\n" +
            "      \"goodsState\": {\n" +
            "        \"type\": \"integer\"\n" +
            "      },\n" +
            "      \"createTime\": {\n" +
            "        \"type\": \"date\"\n" +
            "      },\n" +
            "      \"updateTime\": {\n" +
            "        \"type\": \"date\"\n" +
            "      },\n" +
            "      \"popularityNum\": {\n" +
            "        \"type\": \"integer\"\n" +
            "      },\n" +
            "      \"commentNum\": {\n" +
            "        \"type\": \"integer\"\n" +
            "      },\n" +
            "      \"parentGoodsTypeId\": {\n" +
            "        \"type\": \"keyword\"\n" +
            "      }\n" +
            "    }\n" +
            "  }\n" +
            "}";
}
